package com.cds.alert.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cds.alert.dao.AlertAlarmFileTransferMapper;
import com.cds.alert.ibatis.Criteria;
import com.cds.alert.pojo.AlertAlarmFileTransfer;
import com.cds.alert.service.AlertAlarmFileTransferService;

@Service("alertAlarmFileTransferService")
public class AlertAlarmFileTransferServiceImpl implements AlertAlarmFileTransferService {

	@Autowired
	private AlertAlarmFileTransferMapper alertAlarmFileTransferMapper;
	
	public void insert(AlertAlarmFileTransfer entity) {
		alertAlarmFileTransferMapper.insert(entity);
	}

	@Transactional(readOnly = true)
	public List<AlertAlarmFileTransfer> queryByExample(Criteria example) {
		return alertAlarmFileTransferMapper.queryByExample(example);
	}

}
